#define _CRT_SECURE_NO_WARNINGS 1

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

#define EASY_COUNT 10

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

void emnu(void);

void game(void);

void ArrInit(char arr[ROWS][COLS], int rows, int cols, char res);

void ArrPrint(char arr[ROWS][COLS], int row, int col);

void SetMine(char mine[ROWS][COLS], int row, int col);

void FindMine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);

int MineNum(char mine[ROWS][COLS], int row, int col);